<%@ page language="java" import="java.util.*,com.ambow.Entity.Operator, com.ambow.servlet.Person_showServlet" pageEncoding="UTF-8"%>
<%
  String path=request.getContextPath();
  String basePath=request.getScheme()+";//"+request.getServerName()
      +":"+request.getServerPort()+path+"/";
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-CN" />
<meta name="Keywords" content="关键词1,关键词2，关键词3,关键词4,……" />
<meta name="Description" content="你网页的简述" />
<meta name="Robots" content="All" />
<meta name="Generator" content="Dreamweaver" />
<title>菜单管理</title>

<link href="<%=request.getContextPath() %>/static/css/css.css" rel="stylesheet" type="text/css" />
</head>

<body>
<h3 id="subTitle">用户管理</h3>

<ul id="button">
	<li><a href="<%=path %>pages/module/system/system002/user_add.jsp">新 建</a></li>
</ul>

<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" class="table2">
    <form action="<%=request.getContextPath()%>/Person_showServlet " method="post" name="form2" id="form2">
        <tr>
            <td width="90" align="center" nowrap="nowrap">查询：</td>
            <td nowrap="nowrap">
			 &nbsp;
			<select name="group1" >
				<option value="库存管理员" selected>库存管理员</option>
                <option value="学生管理员" >学生管理员</option>
                <option value="教材管理员">教材管理员</option>
                <option value="分管领导">分管领导</option>
            </select>
            <input type="hidden" name="val" value="arole_query"/>
            <input name="Submit" type="submit" class="buttonInp" value="查 询" /></td>
        </tr>
    </form>
</table>
<table width="90%"  border="0" align="center" cellpadding="0" cellspacing="0" class="table" style="margin-top:10px;">
    <form action="" method="post" name="form1" id="form1">
        <tr>
          
            <th width="14%" align="center" nowrap="nowrap" class="title2">姓名</th>
            <th width="14%" align="center" nowrap="nowrap" class="title2">帐号</th>
          <th width="18%" align="center" nowrap="nowrap" class="title2">电话<br></th>
            <th width="11%" align="center" nowrap="nowrap" class="title2">职位</th>
			<th width="27%" align="center" nowrap="nowrap" class="title2">备注</th>
			<th width="16%" align="center" nowrap="nowrap" class="title2">操作</th>
        </tr>
        <%
			  List list = (List) request.getAttribute("operatorinfo");
          if(list!=null)   { 
			  for (int i = 0; i < list.size(); i++) {
				  
				  Operator ops = (Operator)list.get(i);
			%>
			<tr class="within2bg">
				<td align="center"><%=ops.getName() %></td>
				<td align="center"><%=ops.getAccount()  %></td>
				<td align="center"><%=ops.getTel() %><br></td>
				<td align="center"><%=ops.getPosition() %></td>
				<td align="center"><%=ops.getRemark() %></td>
				<td align="center"><a href="<%=request.getContextPath() %>/Person_showServlet?val=xiugai&account=<%=ops.getId()%>">修改</a>
					&nbsp;&nbsp;&nbsp;<a href="<%=request.getContextPath() %>/Person_showServlet?val=delete&account=<%=ops.getId()%>">删除</a></td>
			</tr>
			<%
			  }
          }
			%>

        <tr align="center" class="within2bg">
            <td colspan="7" class="no_note">没有了</td>
        </tr>
    </form>
</table>

</body>
</html>